package czx.dao;

import java.io.Serializable;
import java.util.List;

import czx.util.HqlExp;

public interface BaseDaoI<T> {

	public Serializable save(T t);

	public void update(T t);

	public void delete(T t);

	public void saveOrUpdate(T t);

	public T get(HqlExp hqlExp);

	public T get(Class<T> c, Serializable id);

	public List<T> find(HqlExp hqlExp);

	public Long count(HqlExp hqlExp);
}
